/**
 * yiqihao(一起好商务股份有限公司) copyright 
 */
package com.p2p.front.service;

import java.util.List;

import com.p2p.front.dal.model.ImageStore;
import com.p2p.front.enums.PhotoType;

/**
 *
 * @author leiruiqi@yiqihao.com
 *
 * 2015年3月16日 下午3:13:46
 */
public interface ImageStoreService {

	public void create(ImageStore imageStore);
	
	public void createDefault(String path,Long bizId,PhotoType photoType,String remark);
	
	public boolean updateStatus(Long id,Integer status);
	
	public boolean updateUrl(Long id,String url);
	
	public boolean updateSortNo(Long id,Integer sortNo);
	
	public List<ImageStore> queryBizAndStatus(ImageStore imageStore);
	
	public List<ImageStore> queryBizAndStatus(Long bizId,Integer bizType,Integer status);
}
